package com.ly.lypopupwindowdemo.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.ly.lypopupwindowdemo.R;

public class XingNengYouHuaActivity extends AppCompatActivity implements View.OnClickListener{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);

        findViewById(R.id.textview).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.textview:
                startActivity(new Intent(XingNengYouHuaActivity.this,TextViewActivity.class));
                break;
        }

    }
}
